csharp read input from console as array

104

csharp read input from console as array -

string []answer = new string[10];
for(int i = 0;i<answer.length;i++)
{
        answer[i]= Console.ReadLine();
}

Comments

Submit
0 Comments